.class Lcom/brixd/niceapp/activity/fragment/CardFragment$2;
.super Ljava/lang/Object;
.source "CardFragment.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/activity/fragment/CardFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/fragment/CardFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/fragment/CardFragment;

    .prologue
    .line 189
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .registers 8
    .param p1, "v"    # Landroid/view/View;
    .param p2, "event"    # Landroid/view/MotionEvent;

    .prologue
    const/4 v4, 0x0

    .line 193
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    packed-switch v1, :pswitch_data_42

    .line 205
    :goto_8
    return v4

    .line 195
    :pswitch_9
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    iput-boolean v4, v1, Lcom/brixd/niceapp/activity/fragment/CardFragment;->mIsScrolling:Z

    .line 196
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    # getter for: Lcom/brixd/niceapp/activity/fragment/CardFragment;->mLastMotionPoint:Landroid/graphics/Point;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$200(Lcom/brixd/niceapp/activity/fragment/CardFragment;)Landroid/graphics/Point;

    move-result-object v1

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    float-to-int v2, v2

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    float-to-int v3, v3

    invoke-virtual {v1, v2, v3}, Landroid/graphics/Point;->set(II)V

    goto :goto_8

    .line 199
    :pswitch_21
    new-instance v0, Landroid/graphics/Point;

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    float-to-int v2, v2

    invoke-direct {v0, v1, v2}, Landroid/graphics/Point;-><init>(II)V

    .line 200
    .local v0, "curPoint":Landroid/graphics/Point;
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    # getter for: Lcom/brixd/niceapp/activity/fragment/CardFragment;->mLastMotionPoint:Landroid/graphics/Point;
    invoke-static {v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$200(Lcom/brixd/niceapp/activity/fragment/CardFragment;)Landroid/graphics/Point;

    move-result-object v3

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->isScrolling(Landroid/graphics/Point;Landroid/graphics/Point;)Z
    invoke-static {v2, v3, v0}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$300(Lcom/brixd/niceapp/activity/fragment/CardFragment;Landroid/graphics/Point;Landroid/graphics/Point;)Z

    move-result v2

    iput-boolean v2, v1, Lcom/brixd/niceapp/activity/fragment/CardFragment;->mIsScrolling:Z

    goto :goto_8

    .line 193
    nop

    :pswitch_data_42
    .packed-switch 0x0
        :pswitch_9
        :pswitch_21
    .end packed-switch
.end method
